include "../model/TCarousel.thrift"
include "../model/TQuery.thrift"
namespace java com.iqiyi.pps.epg.api.server.web.carousel

 service CarouselWebService {
    i64 create(1:TCarousel.TCarousel entity);
    bool delCarousel(1:string ids);
    TCarousel.TCarouselPage getByFatherId(1:string fatherId);
    TCarousel.TCarouselPage carouselList(1:TQuery.TPage page, 2:TQuery.TFilter filter);
    TCarousel.TAutomationPage automationList(1:TQuery.TPage page, 2:TQuery.TFilter filter);
    list<TCarousel.TCarouselAutomation> getCarouselAutomationList(1:i64 channelId);
    TCarousel.TCarouselAutomation getByAutomationId(1:i64 entityId);
    i64 createAutomation(1:TCarousel.TCarouselAutomation entity);
    bool delAutomation(1:string ids);
    i32 indexMoveAutomation(1:i64 id, 2:i64 aimId);
    i32 indexMoveEpisode(1:i64 id, 2:i64 aimId);
    i32 indexMoveAutomationByIndex(1:i64 id, 2:i32 aimIdx);
    i32 indexMoveEpisodeByIndex(1:i64 id, 2:i32 aimIdx);
    i32 changeAutomationStatus(1:i64 channelId,2:i32 execStatus );
    string batchAddEpisode(1:list<i64> idList ,2:i64 fatherId,3:string opUser );
    string batchDelEpisode(1:list<i64> idList ,2:i64 fatherId );
    TCarousel.TCarouselEpisodePage carouselEpisodeList(1:TQuery.TPage page, 2:TQuery.TFilter filter);
 }